<?php
/**
 * Author: ChenGuangHui
 * Email：13035809409@163.com
 * Date Time: 2022/04/13 11:00
 */

namespace App\Models;

use App\Models\Model;

/**
 * App\Models\BlindBoxRule
 *
 * @property int $id
 * @property int|null $blind_box_id 盲盒Id
 * @property int|null $goods_id 关联商品id
 * @property string $title 简称
 * @property int|null $rule_type 规则类型:1、隐藏款 2、稀有 3、史诗 4、传说
 * @property string $goods_price 商品价格
 * @property int $draw_num 抽中人数
 * @property int $gift_point 奖励积分
 * @property int $gift_growth 奖励成长值
 * @property string $goods_name 商品名称
 * @property string $goods_thumb 商品主图无底色
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 修改时间
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule query()
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereBlindBoxId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereDrawNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereGiftGrowth($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereGiftPoint($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereGoodsName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereGoodsPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereGoodsThumb($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereRuleType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBoxRule whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class BlindBoxRule extends Model
{
    
    protected $connection = 'store';

    protected $table = 'store_blind_box_rule';

    protected $primaryKey = 'id';
    
    protected $guarded = [];
}
